package com.example.tse.rbhttpservice.service.goods.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.goods.model.GoodsGetVirtualCatListList;
/**
* 获取虚拟分类一级列表
* @author wliu
* edit tse
*/
public class GoodsGetVirtualCatListResponse extends RudderResponse{

private List<GoodsGetVirtualCatListList> list = new ArrayList<GoodsGetVirtualCatListList>();


/**
* @return list
*/
public List<GoodsGetVirtualCatListList> getList() {
return this.list;
}

/**
* @return list
*/
public void setList(List<GoodsGetVirtualCatListList> list) {
this.list = list;
}
/**
methodName    List
type          List<GoodsGetVirtualCatListList>
name          list
defaultType   new ArrayList<GoodsGetVirtualCatListList>()
*/

/**


    private static void filterFor(GoodsGetVirtualCatListList goods) {
        if (goods.getVirtualCatId() == null) {
            goods.setVirtualCatId("");
        }
        if (goods.getVirtualCatName() == null) {
            goods.setVirtualCatName("");
        }
        if (goods.getImg() == null) {
            goods.setImg("");
        }
    }

    public static void filter(GoodsGetVirtualCatListResponse goods) {
        if (goods.getList() == null) {
            goods.setList(new ArrayList<GoodsGetVirtualCatListList>());
        } else {
            for (GoodsGetVirtualCatListList item : goods.getList()) {
                filterFor(item);
            }
        }
    }

*/

}
